.content-edit {
    width: 70%;
    height: calc(100% - 50px);
    margin: 0 auto;
    opacity: 0.9;
    background-color: rgba(255, 255, 255, 0.85); /* 为内容区域添加半透明背景 */
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* 添加阴影效果 */
}

.content-edit .push {
    width: 100%;
    height: 60px;
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.content-edit .push #title {
    width: 78%;
    height: 35px;
    border-radius: 10px;
    border: 1px solid #ccc; /* 添加边框颜色 */
    outline: none;
    padding-left: 20px;
    font-size: 16px;
    color: #333;
    transition: all 0.3s ease; /* 添加过渡效果 */
}

.content-edit .push #title:focus {
    border-color: #4caf50; /* 聚焦时边框颜色变为绿色 */
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.5); /* 聚焦时添加绿色阴影 */
}

.content-edit .push #submit {
    width: 20%;
    height: 35px;
    background-color: #ff9800; /* 修改按钮颜色为橙色 */
    color: white;
    border-radius: 10px;
    border: none;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease; /* 添加过渡效果 */
}

.content-edit .push #submit:hover {
    background-color: #fb8c00; /* 悬停时颜色变深 */
    transform: scale(1.05); /* 悬停时按钮轻微放大 */
}

.content-edit .push #submit:active {
    background-color: #f57c00; /* 按钮点击时颜色变暗 */
    transform: scale(0.98); /* 按钮点击时缩小 */
}

#editor {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    border: 1px solid #ccc;
    padding: 15px;
    font-size: 16px;
    color: #333;
    background-color: #f9f9f9;
    transition: border-color 0.3s ease;
}

#editor:focus {
    border-color: #4caf50; /* 聚焦时边框颜色变为绿色 */
}
